const mongoose = require("mongoose");

const QuesSchema = mongoose.Schema({
  // 调查户类型
  target: {
    type: Number,
    default: -1,
  },
  // 问卷编号
  title: {
    type: String,
    default: "",
  },
  // 问卷题目组序列
  body: {
    type: Array,
  },
});

const Ques = mongoose.model("Ques", QuesSchema);
module.exports = Ques;
